﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NCT.MRS.DataAccessLayer.Entities
{
    public class AccessType : IEntity
    {

        public AccessType()
        {
            Roles = new List<Role>();
            IsActive = true;
        }

        public int Id { get; set; }

        public string Code { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
        public bool  IsActive { get; set; }

        public int AccessSectionId { get; set; }
        public virtual AccessSection AccessSection { get; set; }

        public virtual List<Role> Roles { get; set; }


    }
}
